# 多段数据处理
# 也就是进行数据分块
import hashlib
hasher = hashlib.sha256()
chunks = [b"Chunk1", b"Chunk2", b"Chunk3"]
for chunk in chunks:
    hasher.update(chunk)
print("分段哈希:", hasher.hexdigest())
